PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Hypnotic / Polar Closeup / Goody + flexi - Data Crusher.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.560 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=0.362 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.653 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.500 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=0.107 |
| 33 | fZoomExponent=0.34421 |
| 34 | fShader=1.000 |
| 35 | zoom=2.78167 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=25.600 |
| 60 | nMotionVectorsY=9.600 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=5.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=bassc = 0; |
| 89 | wave_0_init2=bcount = 0; |
| 90 | wave_0_per_frame1=r=bass*.5; |
| 91 | wave_0_per_frame2=g=treb*.5; |
| 92 | wave_0_per_frame3=b=mid*.5; |
| 93 | wave_0_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 94 | wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 95 | wave_0_per_point3= |
| 96 | wave_0_per_point4=mx=mx+(.0002*cos(ma)); |
| 97 | wave_0_per_point5=my=my+(.0002*sin(ma)); |
| 98 | wave_0_per_point6= |
| 99 | wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 100 | wave_0_per_point8=my=if(above(my,.9),(.9-my),my); |
| 101 | wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 102 | wave_0_per_point10=my=if(below(my,.1),(.9+my),my); |
| 103 | wave_0_per_point11= |
| 104 | wave_0_per_point12=x=mx; |
| 105 | wave_0_per_point13=y=my; |
| 106 | wave_0_per_point14= |
| 107 | wave_0_per_point15=a=(above(bass+mid+treb,.8)); |
| 108 | wavecode_1_enabled=0 |
| 109 | wavecode_1_samples=512 |
| 110 | wavecode_1_sep=0 |
| 111 | wavecode_1_bSpectrum=1 |
| 112 | wavecode_1_bUseDots=1 |
| 113 | wavecode_1_bDrawThick=1 |
| 114 | wavecode_1_bAdditive=0 |
| 115 | wavecode_1_scaling=1.00000 |
| 116 | wavecode_1_smoothing=0.50000 |
| 117 | wavecode_1_r=1.000 |
| 118 | wavecode_1_g=1.000 |
| 119 | wavecode_1_b=1.000 |
| 120 | wavecode_1_a=1.000 |
| 121 | wave_1_per_frame1=r=bass*.5; |
| 122 | wave_1_per_frame2=g=treb*.5; |
| 123 | wave_1_per_frame3=b=mid*.5; |
| 124 | wave_1_per_frame4=a = 0 + (treb_att * .15); |
| 125 | wave_1_per_point1=x = .5+.2*sin(time*.7454); |
| 126 | wave_1_per_point2=x = x+(.0005-int(rand(10))*.008); |
| 127 | wave_1_per_point3=y = .5+.2*cos(time*.455); |
| 128 | wave_1_per_point4=y = y+(.0005-int(rand(10))*.001); |
| 129 | wave_1_per_point5= |
| 130 | wave_1_per_point6= |
| 131 | wave_1_per_point7=bassc = if(above(bcount,0),1,0); |
| 132 | wave_1_per_point8=bcount = if(above(bcount,0),bcount - .00005,if(below(bassc,1),if(above(bass,1.5),.2,0),0)); |
| 133 | wave_1_per_point9=x = x - bcount; |
| 134 | wavecode_2_enabled=0 |
| 135 | wavecode_2_samples=512 |
| 136 | wavecode_2_sep=0 |
| 137 | wavecode_2_bSpectrum=0 |
| 138 | wavecode_2_bUseDots=0 |
| 139 | wavecode_2_bDrawThick=1 |
| 140 | wavecode_2_bAdditive=0 |
| 141 | wavecode_2_scaling=1.00000 |
| 142 | wavecode_2_smoothing=0.50000 |
| 143 | wavecode_2_r=1.000 |
| 144 | wavecode_2_g=1.000 |
| 145 | wavecode_2_b=1.000 |
| 146 | wavecode_2_a=1.000 |
| 147 | wave_2_per_frame1=r=bass*.5; |
| 148 | wave_2_per_frame2=g=treb*.5; |
| 149 | wave_2_per_frame3=b=mid*.5; |
| 150 | wave_2_per_point1=x = .5+.2*sin(time*.7454); |
| 151 | wave_2_per_point2=x = x+(.0005+int(rand(10))*.008); |
| 152 | wave_2_per_point3=y = .5+.2*cos(time*.455); |
| 153 | wave_2_per_point4=y = y+(.0005-int(rand(10))*.001); |
| 154 | wave_2_per_point5= |
| 155 | wave_2_per_point6=bassc = if(above(bcount,0),1,0); |
| 156 | wave_2_per_point7=bcount = if(above(bcount,0),bcount - .00005,if(below(bassc,1),if(above(bass,1.5),.2,0),0)); |
| 157 | wave_2_per_point8=x = x + bcount; |
| 158 | wave_2_per_point9=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 159 | wave_2_per_point10=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 160 | wave_2_per_point11= |
| 161 | wave_2_per_point12=mx=mx+(.0002*cos(ma)); |
| 162 | wave_2_per_point13=my=my+(.0002*sin(ma)); |
| 163 | wave_2_per_point14= |
| 164 | wave_2_per_point15=mx=if(above(mx,.9),(.9-mx),mx); |
| 165 | wave_2_per_point16=my=if(above(my,.9),(.9-my),my); |
| 166 | wave_2_per_point17=mx=if(below(mx,.1),(.9+mx),mx); |
| 167 | wave_2_per_point18=my=if(below(my,.1),(.9+my),my); |
| 168 | wave_2_per_point19= |
| 169 | wave_2_per_point20=x=mx; |
| 170 | wave_2_per_point21=y=my; |
| 171 | wave_2_per_point22= |
| 172 | wave_2_per_point23=a=(above(bass+mid+treb,.8)); |
| 173 | wavecode_3_enabled=0 |
| 174 | wavecode_3_samples=512 |
| 175 | wavecode_3_sep=0 |
| 176 | wavecode_3_bSpectrum=0 |
| 177 | wavecode_3_bUseDots=0 |
| 178 | wavecode_3_bDrawThick=1 |
| 179 | wavecode_3_bAdditive=0 |
| 180 | wavecode_3_scaling=1.00000 |
| 181 | wavecode_3_smoothing=0.50000 |
| 182 | wavecode_3_r=1.000 |
| 183 | wavecode_3_g=1.000 |
| 184 | wavecode_3_b=1.000 |
| 185 | wavecode_3_a=1.000 |
| 186 | wave_3_per_frame1=r=bass*.5; |
| 187 | wave_3_per_frame2=g=treb*.5; |
| 188 | wave_3_per_frame3=b=mid*.5; |
| 189 | wave_3_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 190 | wave_3_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 191 | wave_3_per_point3= |
| 192 | wave_3_per_point4=mx=mx+(.0002*cos(ma)); |
| 193 | wave_3_per_point5=my=my+(.0002*sin(ma)); |
| 194 | wave_3_per_point6= |
| 195 | wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 196 | wave_3_per_point8=my=if(above(my,.9),(.9-my),my); |
| 197 | wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 198 | wave_3_per_point10=my=if(below(my,.1),(.9+my),my); |
| 199 | wave_3_per_point11= |
| 200 | wave_3_per_point12=x=mx; |
| 201 | wave_3_per_point13=y=my; |
| 202 | wave_3_per_point14= |
| 203 | wave_3_per_point15=a=(above(bass+mid+treb,.8)); |
| 204 | shapecode_0_enabled=0 |
| 205 | shapecode_0_sides=4 |
| 206 | shapecode_0_additive=1 |
| 207 | shapecode_0_thickOutline=0 |
| 208 | shapecode_0_textured=1 |
| 209 | shapecode_0_num_inst=1 |
| 210 | shapecode_0_x=0.500 |
| 211 | shapecode_0_y=0.500 |
| 212 | shapecode_0_rad=3.97100 |
| 213 | shapecode_0_ang=0.00000 |
| 214 | shapecode_0_tex_ang=0.00000 |
| 215 | shapecode_0_tex_zoom=0.29171 |
| 216 | shapecode_0_r=0.000 |
| 217 | shapecode_0_g=0.000 |
| 218 | shapecode_0_b=0.000 |
| 219 | shapecode_0_a=0.000 |
| 220 | shapecode_0_r2=0.000 |
| 221 | shapecode_0_g2=0.000 |
| 222 | shapecode_0_b2=0.000 |
| 223 | shapecode_0_a2=1.000 |
| 224 | shapecode_0_border_r=0.000 |
| 225 | shapecode_0_border_g=0.000 |
| 226 | shapecode_0_border_b=0.000 |
| 227 | shapecode_0_border_a=0.000 |
| 228 | shapecode_1_enabled=0 |
| 229 | shapecode_1_sides=4 |
| 230 | shapecode_1_additive=1 |
| 231 | shapecode_1_thickOutline=0 |
| 232 | shapecode_1_textured=1 |
| 233 | shapecode_1_num_inst=1 |
| 234 | shapecode_1_x=0.500 |
| 235 | shapecode_1_y=0.500 |
| 236 | shapecode_1_rad=1.52776 |
| 237 | shapecode_1_ang=0.00000 |
| 238 | shapecode_1_tex_ang=0.00000 |
| 239 | shapecode_1_tex_zoom=0.40839 |
| 240 | shapecode_1_r=1.000 |
| 241 | shapecode_1_g=1.000 |
| 242 | shapecode_1_b=1.000 |
| 243 | shapecode_1_a=1.000 |
| 244 | shapecode_1_r2=0.000 |
| 245 | shapecode_1_g2=0.000 |
| 246 | shapecode_1_b2=0.000 |
| 247 | shapecode_1_a2=0.000 |
| 248 | shapecode_1_border_r=1.000 |
| 249 | shapecode_1_border_g=1.000 |
| 250 | shapecode_1_border_b=1.000 |
| 251 | shapecode_1_border_a=0.000 |
| 252 | shape_1_per_frame1=ang = angc; |
| 253 | shape_1_per_frame2=angc = angc-treb*.01; |
| 254 | shape_1_per_frame3= |
| 255 | shape_1_per_frame4=x=.5 + .2*sin(angc); |
| 256 | shape_1_per_frame5=y=.5 + .2*sin(.98*angc); |
| 257 | shapecode_2_enabled=0 |
| 258 | shapecode_2_sides=4 |
| 259 | shapecode_2_additive=1 |
| 260 | shapecode_2_thickOutline=0 |
| 261 | shapecode_2_textured=1 |
| 262 | shapecode_2_num_inst=1 |
| 263 | shapecode_2_x=0.500 |
| 264 | shapecode_2_y=0.500 |
| 265 | shapecode_2_rad=6.66200 |
| 266 | shapecode_2_ang=0.00000 |
| 267 | shapecode_2_tex_ang=0.00000 |
| 268 | shapecode_2_tex_zoom=0.14949 |
| 269 | shapecode_2_r=1.000 |
| 270 | shapecode_2_g=1.000 |
| 271 | shapecode_2_b=1.000 |
| 272 | shapecode_2_a=0.100 |
| 273 | shapecode_2_r2=0.000 |
| 274 | shapecode_2_g2=0.000 |
| 275 | shapecode_2_b2=0.000 |
| 276 | shapecode_2_a2=0.000 |
| 277 | shapecode_2_border_r=0.000 |
| 278 | shapecode_2_border_g=0.000 |
| 279 | shapecode_2_border_b=0.000 |
| 280 | shapecode_2_border_a=1.000 |
| 281 | shape_2_per_frame1=ang = ang + angc; |
| 282 | shape_2_per_frame2=angc = angc + bass*.01; |
| 283 | shape_2_per_frame3=x = .5 + .045*sin(.234*time); |
| 284 | shape_2_per_frame4=y = .5 + .054*sin(.223*time); |
| 285 | shape_2_per_frame5= |
| 286 | shape_2_per_frame6=r2 = (rand100)*.01 |
| 287 | shapecode_3_enabled=0 |
| 288 | shapecode_3_sides=4 |
| 289 | shapecode_3_additive=1 |
| 290 | shapecode_3_thickOutline=0 |
| 291 | shapecode_3_textured=1 |
| 292 | shapecode_3_num_inst=1 |
| 293 | shapecode_3_x=0.180 |
| 294 | shapecode_3_y=0.300 |
| 295 | shapecode_3_rad=1.55840 |
| 296 | shapecode_3_ang=0.00000 |
| 297 | shapecode_3_tex_ang=0.00000 |
| 298 | shapecode_3_tex_zoom=0.19788 |
| 299 | shapecode_3_r=1.000 |
| 300 | shapecode_3_g=1.000 |
| 301 | shapecode_3_b=1.000 |
| 302 | shapecode_3_a=1.000 |
| 303 | shapecode_3_r2=0.000 |
| 304 | shapecode_3_g2=0.000 |
| 305 | shapecode_3_b2=0.000 |
| 306 | shapecode_3_a2=0.000 |
| 307 | shapecode_3_border_r=1.000 |
| 308 | shapecode_3_border_g=1.000 |
| 309 | shapecode_3_border_b=1.000 |
| 310 | shapecode_3_border_a=0.000 |
| 311 | shape_3_per_frame1=x = .5+.05*sin(.23*time + .2*treb_att); |
| 312 | shape_3_per_frame2=y = .5+.05*cos(.2*time + .2*bass); |
| 313 | shape_3_per_frame3= |
| 314 | shape_3_per_frame4=r = .5+sin(time); |
| 315 | shape_3_per_frame5=b = .5+sin(time*.556677); |
| 316 | shape_3_per_frame6=g = .5+sin(time*.353); |
| 317 | per_frame_init_1=q21 = 1/asin(1); |
| 318 | per_frame_1= |
| 319 | per_frame_2=// coordinates spiral 1 |
| 320 | per_frame_3=q21 = .5; //sin(time); // X |
| 321 | per_frame_4=q22 = 0 - sin(time * .5); //-0.5; // Y |
| 322 | per_frame_5= |
| 323 | per_frame_6=// coordinates spiral 2 |
| 324 | per_frame_7=q23 = 0; |
| 325 | per_frame_8=q24 = 1; //sin(time); //0.5; |
| 326 | per_frame_9= |
| 327 | per_frame_10=q25 = 0.5/asin(1); // pi/4 |
| 328 | per_frame_11= |
| 329 | per_frame_12=q26 = time*0.3; // rotation |
| 330 | per_frame_13=q27 = -time*0.6; // growth |
| 331 | per_frame_14= |
| 332 | per_frame_15= |
| 333 | per_frame_16=bassfix=.05+.01*bass; |
| 334 | per_frame_17=midfix=.05+.01*mid; |
| 335 | per_frame_18=trebfix=.05+.01*treb; |
| 336 | per_frame_19=bassif=if(above(bass_att,1),bassif+bassfix,if(above(bassif,85),0,bassif*.96)); |
| 337 | per_frame_20=midif=if(above(mid_att,1),midif+midfix,if(above(midif,.85),0,midif*.96)); |
| 338 | per_frame_21=trebif=if(above(treb_att,1),trebif+trebfix,if(above(trebif,.85),0,trebif*.96)); |
| 339 | per_frame_22= |
| 340 | per_frame_23=q12=bassif; |
| 341 | per_frame_24=q13=midif; |
| 342 | per_frame_25=q14=trebif; |
| 343 | per_frame_26=q15=abs(cos(bassif-time)); |
| 344 | per_frame_27=q16=abs(cos(midif-time)); |
| 345 | per_frame_28=q17=abs(cos(trebif-time)); |
| 346 | warp_1=`shader_body |
| 347 | warp_2=`{ |
| 348 | warp_3=` |
| 349 | warp_4=`ret=(tex2D(sampler_noise_hq,uv)).xxx; |
| 350 | warp_5=` |
| 351 | warp_6=`float2 mod_uv = uv_orig*texsize.zw; |
| 352 | warp_7=` |
| 353 | warp_8=`float3 mret = tex2D( sampler_noise_hq, frac(mod_uv)); |
| 354 | warp_9=` |
| 355 | warp_10=`float2 dither_uv = uv_orig-texsize_noise_lq.zw; |
| 356 | warp_11=`mret -= (tex2D(sampler_noise_lq, uv+dither_uv)); |
| 357 | warp_12=` |
| 358 | warp_13=`mret += tex2D( sampler_noise_hq, frac(uv)).zyx; |
| 359 | warp_14=` |
| 360 | warp_15=`mret.x*=.5+.2*sin(rad*20+time*16)+.1*q12; |
| 361 | warp_16=`mret.y*=.5+.2*sin(rad*40+time*18.4)+.1*q13; |
| 362 | warp_17=`mret.z*=.5+.2*sin(rad*10-time*14.3)+.1*q14; |
| 363 | warp_18=` |
| 364 | warp_19=`ret *= float3(.95+.2*q17,.95+.2*q15,.95+.2*q16); |
| 365 | warp_20=` |
| 366 | warp_21=`ret=lerp(ret,mret,.2).xzy; |
| 367 | warp_22=` |
| 368 | warp_23=`//ret=mret; |
| 369 | warp_24=`} |
| 370 | comp_1=`float2 numerator, denominator, fraction; |
| 371 | comp_2=` |
| 372 | comp_3=`shader_body |
| 373 | comp_4=`{ |
| 374 | comp_5=` |
| 375 | comp_6=`/*** Flexis cleaned up Moebius spiral code ***/ |
| 376 | comp_7=` |
| 377 | comp_8=`float cutoff = 1.1; |
| 378 | comp_9=`int n = 3; |
| 379 | comp_10=`float s = 2; |
| 380 | comp_11=` |
| 381 | comp_12=` float2 c = (uv-0.5)*1*aspect.wz; |
| 382 | comp_13=` numerator = (c + float2(q21,q22))*64; |
| 383 | comp_14=` denominator = c + float2(q23,q24); |
| 384 | comp_15=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, |
| 385 | comp_16=` numerator.y*denominator.x - numerator.x*denominator.y)/ |
| 386 | comp_17=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 387 | comp_18=` c = fraction-0.5; |
| 388 | comp_19=` float1 ang_hq = n*atan2(c.x,c.y); |
| 389 | comp_20=` float2 spiral = float2(ang_hq*q25+q26,s*aspect.w*log(length(c))+ang_hq*q25+q27); |
| 390 | comp_21=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*cutoff; // mirror |
| 391 | comp_22=` |
| 392 | comp_23=`/**********************************************/ |
| 393 | comp_24=` |
| 394 | comp_25=`uv=spiral; |
| 395 | comp_26=` |
| 396 | comp_27=`float2 uvm=0; |
| 397 | comp_28=`uvm.x=uv.x-.07*tex2D(sampler_noise_hq, uv.x*1.5+.015*time).x; |
| 398 | comp_29=`uvm.y=uv.y-.07*tex2D(sampler_noise_hq, uv.y*1.5+.015*time).x; |
| 399 | comp_30=`uv=uvm; |
| 400 | comp_31=` |
| 401 | comp_32=`uvm-=.5; |
| 402 | comp_33=`float2 uvt = float2(atan2(uv.x,uv.y), 1/length(uv)); |
| 403 | comp_34=`uvm+=.5; |
| 404 | comp_35=` |
| 405 | comp_36=`//uv*=uvt; |
| 406 | comp_37=` |
| 407 | comp_38=`//You can change the speed and direction of rotation by changing this variable |
| 408 | comp_39=`float rot=1.4; |
| 409 | comp_40=` |
| 410 | comp_41=`//This variable defines the center of rotation (cx, cy) |
| 411 | comp_42=`float2 cxy=float2(.5,.5); |
| 412 | comp_43=` |
| 413 | comp_44=`float2 xymod=uv-cxy; |
| 414 | comp_45=`float2 xy1=0; |
| 415 | comp_46=` |
| 416 | comp_47=`//Rotate xy plane |
| 417 | comp_48=`xy1.x=sin(time*rot)*xymod.x-cos(time*rot)*xymod.y; |
| 418 | comp_49=`xy1.y=cos(time*rot)*xymod.x+sin(time*rot)*xymod.y; |
| 419 | comp_50=` |
| 420 | comp_51=`float2 rt=(xy1); |
| 421 | comp_52=`float2 rmod=rt-.5; |
| 422 | comp_53=` |
| 423 | comp_54=`uv=rmod; |
| 424 | comp_55=` |
| 425 | comp_56=`float3 blur = GetBlur1(uvm); |
| 426 | comp_57=`float3 sharp = tex2D(sampler_main, uvm); |
| 427 | comp_58=`float3 fix = GetPixel(frac(uvm)); |
| 428 | comp_59=` |
| 429 | comp_60=`float2 mod = 4*float2(1*(fix.x)+cos(uvm.x-roam_sin.y*4), 1*(fix.x)-sin(uvm.y+roam_cos.x)); |
| 430 | comp_61=` |
| 431 | comp_62=`float3 fret = (fix-blur)-mod.xxx; |
| 432 | comp_63=`fret.x/=fix.y/blur.y; |
| 433 | comp_64=`float3 inv = 1-fret; |
| 434 | comp_65=`//inv.x=2-inv.y; |
| 435 | comp_66=` |
| 436 | comp_67=`float melt = dot(fret, inv); |
| 437 | comp_68=` |
| 438 | comp_69=`ret=tex2D(sampler_main, uv.xy)*inv+.8*fret; |
| 439 | comp_70=`float3 modret=lerp(ret, inv, 1.5*saturate(melt)); |
| 440 | comp_71=` |
| 441 | comp_72=`ret=lerp(GetPixel(uvt),modret,.5); |
| 442 | comp_73=`ret=lerp(modret,ret,.5); |
| 443 | comp_74=`ret-=GetPixel(uvt);//+.5*modret; |
| 444 | comp_75=`} |
| 445 | comp_76=` |